@extends('d.layout.index')
@section('con')	
<div class="mws-panel-header">
	<span><i class="icon-table"></i> 商品细节做工图浏览</span>
</div>
<div class="mws-panel-body no-padding">
    
    <div id="DataTables_Table_1_wrapper" class="dataTables_wrapper" role="grid">
     
	    <div class="dataTables_filter" id="DataTables_Table_1_filter" style="height:30px;text-align:left">
        <a href="/admin/goods/editshowdetail/{{$gid}}">
          <button class="btn">添加图片</button>
        </a>
	    </div>
    <table class="mws-datatable-fn mws-table dataTable" id="DataTables_Table_1" aria-describedby="DataTables_Table_1_info">
        <thead>
            <tr role="row">
            	<th class="sorting_asc" role="columnheader" tabindex="0" aria-controls="DataTables_Table_1" rowspan="1" colspan="1" style="width: 56px;" aria-sort="ascending" aria-label="Rendering engine: activate to sort column descending">ID</th>
              <th class="sorting" role="columnheader" tabindex="0" aria-controls="DataTables_Table_1" rowspan="1" colspan="1" style="width: 82px;" aria-label="Browser: activate to sort column ascending">款式图片</th>
            	<th class="sorting" role="columnheader" tabindex="0" aria-controls="DataTables_Table_1" rowspan="1" colspan="1" style="width: 82px;" aria-label="Browser: activate to sort column ascending">序列号</th>
            	<th class="sorting" role="columnheader" tabindex="0" aria-controls="DataTables_Table_1" rowspan="1" colspan="1" style="width: 333px;" aria-label="Engine version: activate to sort column ascending">操作</th>
            </tr>
        </thead>
        
   		<tbody role="alert" aria-live="polite" aria-relevant="all">
   			@foreach($list as $k => $v)
   			@if($k % 2 == 0)
   			<tr class="odd">
   			@else
   			<tr class="even">
   			@endif
   				<td class="  sorting_1">{{$v['id']}}</td>
                
          <td class=" "><img src="/goods/pic/{{$v['pic']}}" width="70px" heigth="50px" alt=""></td>
          <td class="  sorting_1">{{$v['order']}}</td>
          <td class=" " align='center'>
          	<a href="/admin/goods/editshowdetail/{{$gid}}" class="">编辑详细信息</a>
            &nbsp;&nbsp;&nbsp; 
            <a href="/admin/goods/deleteshowdetail/{{$v['id']}}">删除</a>

          </td>
        </tr>
           @endforeach
        </tbody>
    </table>
   	<div class="dataTables_paginate paging_full_numbers" id="page">
   	</div>
</div>
</div>

@endsection